Question 1

Which of the following character classes match:


Question 2

Programming Question

What is a regular expression that matches all of the following headers:

PAST MEDICAL HISTORY:

Past Medical History:

PREVIOUS MEDICAL HISTORY:

Past medical history:

PAST MEDICAL/SURGICAL HISTORY:

past medical history:


Question 3

Which of the following quantifiers means "match 0 or 1 times"?


Question 4

If you are developing a regular expression in R and even though RegExr or Debuggex show it as correct it isn't working as you expect, what could be going wrong?


Question 5

What quantifier would you use if you want to match a character 3, 4, or 5 times?


Question 6

Programming Question

Using the radiology reports in Google BigQuery, how many notes have the word "unremarkable" in them?


Question 7

What stringr function do you use when you want to replace all matching strings in a text? Make sure to include the parentheses - for example if the function you want to use was names "mutate", the correct answer would be "mutate()".


Question 8

Which of the following are techniques you can use when working on a text processing problem?